/**
 * @file   PacketDefines.h
 * @author Djuro Drljaca (djurodrljaca@gmail.com)
 * @date   2014-4-26
 * @brief  DON packet's defines.
 *
 * Copyright 2014  Djuro Drljaca (djurodrljaca@gmail.com)
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef DON_CORE_PACKET_PACKETDEFINES_H
#define DON_CORE_PACKET_PACKETDEFINES_H

#define DON_CORE_PACKET_STX_VALUE    (0x02)
#define DON_CORE_PACKET_ETX_VALUE    (0x03)

#define DON_CORE_PACKET_MAX_PAYLOAD_DATA_SIZE    (65535)
#define DON_CORE_PACKET_MAX_PAYLOAD_DATA_ITEM_COUNT    (255)

#endif // DON_CORE_PACKET_PACKETDEFINES_H
